package cn.ys.pet.service;

import cn.ys.pet.domain.Pet;
import cn.ys.base.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ys
 * @since 2023-01-08
 */
public interface IPetService extends BaseService<Pet> {

    // 上架
    @Transactional
    void onsale(List<Long> ids);

    // 下架
    void offsale(List<Long> ids);
}
